package com.lukstron.youko;

public class Battery {
	public Boolean hasCurrent = null;
	public Boolean hasPotential = null;
	public Double primary = null;
	public Double secondary = null;

	@Override
	public String toString() {
		StringBuilder stringBuilder = new StringBuilder();
		stringBuilder.append("DAM: ");
		stringBuilder.append((this.hasCurrent) ? "OK" : "Bad");
		stringBuilder.append(", ");
		stringBuilder.append("DVM: ");
		stringBuilder.append((this.hasPotential) ? "OK" : "Bad");
		stringBuilder.append(", ");
		stringBuilder.append("1: ");
		stringBuilder.append(this.primary);
		stringBuilder.append(", ");
		stringBuilder.append("2: ");
		stringBuilder.append(this.secondary);
		return stringBuilder.toString();
	}

}
